/**
 * Coryright 2015-2020 www.eyaomall.cn
 * All rights reserved.
 * @author tumingjun
 * @date 2016年8月30日
 *
 */

package com.eyaomall.wxmall.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eyaomall.wxmall.common.helper.MemberHelper;
import com.eyaomall.wxmall.dao.MallDescDao;
import com.eyaomall.wxmall.model.po.MallDesc;
import com.eyaomall.wxmall.service.MallDescService;

/**
 * @author tumingjun
 *
 */
@Service
public class MallDescServiceImpl implements MallDescService{
	
	@Autowired
	private MallDescDao mallDescDao;
	
	/**
	 * 查询店铺Banner
	 */
	public List<MallDesc> queryMallBanner() {
		
		MallDesc  mallDesc = new MallDesc();
		mallDesc.setShopId(MemberHelper.getShopId());
    	mallDesc.setKeyValue("mall_banner");
    	return mallDescDao.queryMallBanner(mallDesc);
	}

}
